package com.awakening.code.service;

import com.awakening.code.bean.Message;
import com.awakening.code.dao.MessageDao;

import java.sql.SQLException;
import java.util.List;

/**
 * 列表相关业务功能
 * @Author:AwakeningCode
 * @Date: Created in 21:24 2018\1\11 0011
 */
public class ListService {

    public List<Message> findList(String command, String description)
            throws ClassNotFoundException,SQLException{
        MessageDao messageDao = new MessageDao();
        return messageDao.findList(command,description);
    }

}
